import axios from 'axios'
import router from './../router'

class Project{
    list = []
    listService = []
    listServiceVersion = []
    ServiceVersion(project_id){
        this.list=[],
        this.listService=[],
        this.listServiceVersion=[],
        axios
        .get('/serviceVersion/',{params:{'project_id':project_id}})
        .then((res)=>{
          this.list = res.data
          this.aa = utils.groupBy(this.list,this.listService,this.listServiceVersion)
        })
      }
}
export default new Project();
